package com.xebest.config;

import org.springframework.boot.context.properties.ConfigurationProperties;
import org.springframework.stereotype.Component;

/**
 * 供应链信息
 *
 * @author ruancz
 */
@Component
@ConfigurationProperties(prefix = "supply.chain")
public class SupplyChainConfig {
    /**
     * 公钥
     */
    private String appKey;
    /**
     * 地址
     */
    private String address;
    /**
     * 密钥
     */
    private String secret;
    /**
     * 来源系统
     */
    private String fromsys;
    /**
     * 取消订单url
     */
    private String cancelOrderUrl;

    /**
     * 推送实发url
     */
    private String pushOrderUrl;

    /**
     * 判断是否发货url
     *
     * @return
     */
    private String judgeSendGoodUrl;

    public String getJudgeSendGoodUrl() {
        return judgeSendGoodUrl;
    }

    public void setJudgeSendGoodUrl(String judgeSendGoodUrl) {
        this.judgeSendGoodUrl = judgeSendGoodUrl;
    }

    public String getPushOrderUrl() {
        return pushOrderUrl;
    }

    public void setPushOrderUrl(String pushOrderUrl) {
        this.pushOrderUrl = pushOrderUrl;
    }

    public String getCancelOrderUrl() {
        return cancelOrderUrl;
    }

    public String getFromsys() {
        return fromsys;
    }

    public String getAppKey() {

        return appKey;
    }

    public String getAddress() {

        return address;
    }

    public String getSecret() {

        return secret;
    }

    public void setAppKey(String appKey) {
        this.appKey = appKey;
    }

    public void setAddress(String address) {
        this.address = address;
    }

    public void setSecret(String secret) {
        this.secret = secret;
    }

    public void setFromsys(String fromsys) {
        this.fromsys = fromsys;
    }

    public void setCancelOrderUrl(String cancelOrderUrl) {
        this.cancelOrderUrl = cancelOrderUrl;
    }
}
